package database;

import java.util.Date;

public class User {

	private int userID;
	
	private String name;
	
	private String password;
	
	private String role;
	
	private Date registerTime;
	
	private String email;
	
	public User() {
		userID = 0;
		name = "";
		password = "";
		role = "";
		registerTime = new Date();
		email = "";
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public int getUserID() {
		return userID;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getRole() {
		return role;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return email;
	}

}
